.class public Lcom/esfile/screen/recorder/videos/merge/MergeActivity;
.super Lcom/esfile/screen/recorder/base/BaseActivity;
.source "MergeActivity.java"


# instance fields
.field private a:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/picture/picker/data/f;",
            ">;"
        }
    .end annotation
.end field

.field private b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

.field private c:Lcom/esfile/screen/recorder/media/c;

.field private d:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/picture/picker/data/f;",
            ">;"
        }
    .end annotation
.end field

.field private e:J

.field private f:Lcom/esfile/screen/recorder/media/c$g;


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;-><init>()V

    const-wide/16 v0, -0x1

    .line 2
    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->e:J

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$d;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$d;-><init>(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->f:Lcom/esfile/screen/recorder/media/c$g;

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;J)J
    .locals 0

    .line 6
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->e:J

    return-wide p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)Lcom/esfile/screen/recorder/media/c;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->c:Lcom/esfile/screen/recorder/media/c;

    return-object p0
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;Ljava/lang/Exception;)V
    .locals 0

    .line 4
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/Exception;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;Ljava/lang/String;J)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/String;J)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 0

    .line 7
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;Ljava/util/ArrayList;)V
    .locals 0

    .line 5
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b(Ljava/util/ArrayList;)V

    return-void
.end method

.method private a(Ljava/lang/Exception;)V
    .locals 4

    .line 23
    instance-of v0, p1, Lcom/esfile/screen/recorder/media/util/ExceptionUtil$UnsupportedFileException;

    if-eqz v0, :cond_0

    .line 24
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Les/z4;->durec_merge_video_fail_by_not_available:I

    invoke-static {v0, v1}, Les/ec;->a(Landroid/content/Context;I)V

    goto :goto_0

    .line 25
    :cond_0
    instance-of v0, p1, Lcom/esfile/screen/recorder/media/util/ExceptionUtil$OutOfSpaceException;

    if-eqz v0, :cond_1

    .line 26
    sget v0, Les/z4;->durec_cut_video_no_space:I

    invoke-static {v0}, Les/ec;->a(I)V

    goto :goto_0

    .line 27
    :cond_1
    instance-of v0, p1, Ljava/io/FileNotFoundException;

    if-eqz v0, :cond_2

    .line 28
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Les/z4;->durec_video_not_found:I

    invoke-static {v0, v1}, Les/ec;->a(Landroid/content/Context;I)V

    goto :goto_0

    .line 29
    :cond_2
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Les/z4;->durec_common_video_fail:I

    invoke-static {v0, v1}, Les/ec;->a(Landroid/content/Context;I)V

    .line 30
    :goto_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->x()V

    if-eqz p1, :cond_3

    .line 31
    invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object p1

    goto :goto_1

    :cond_3
    const-string p1, ""

    :goto_1
    const/4 v0, 0x1

    const-string v1, "save_video_fail"

    invoke-direct {p0, v1, p1, v0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 32
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->e:J

    const-wide/16 v2, 0x0

    cmp-long p1, v0, v2

    if-lez p1, :cond_4

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->e:J

    sub-long/2addr v0, v2

    goto :goto_2

    :cond_4
    const-wide/16 v0, -0x1

    :goto_2
    const-string p1, "fail"

    invoke-direct {p0, p1, v0, v1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/String;J)V

    return-void
.end method

.method private a(Ljava/lang/String;J)V
    .locals 0

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 0

    return-void
.end method

.method private a(Ljava/util/ArrayList;)V
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/picture/picker/data/f;",
            ">;)V"
        }
    .end annotation

    .line 8
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_emoji_dialog_layout:I

    const/4 v2, 0x0

    .line 9
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 10
    sget v1, Les/x4;->emoji_title:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    const/16 v3, 0x8

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    .line 11
    sget v1, Les/x4;->emoji_icon:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 12
    sget v3, Les/w4;->durec_video_merge_size_different_dialog_icon:I

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 13
    sget v1, Les/x4;->emoji_message:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 14
    sget v3, Les/z4;->durec_video_size_different_dialog_msg:I

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(I)V

    .line 15
    invoke-virtual {v0}, Landroid/view/View;->getPaddingLeft()I

    move-result v1

    invoke-virtual {v0}, Landroid/view/View;->getPaddingRight()I

    move-result v3

    invoke-virtual {v0}, Landroid/view/View;->getPaddingBottom()I

    move-result v4

    const/4 v5, 0x0

    invoke-virtual {v0, v1, v5, v3, v4}, Landroid/view/View;->setPadding(IIII)V

    .line 16
    new-instance v1, Lcom/esfile/screen/recorder/ui/a$e;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/ui/a$e;-><init>(Landroid/content/Context;)V

    .line 17
    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/ui/a$e;->a(Landroid/view/View;)Lcom/esfile/screen/recorder/ui/a$e;

    const/4 v0, 0x1

    .line 18
    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/ui/a$e;->b(Z)Lcom/esfile/screen/recorder/ui/a$e;

    sget v0, Les/z4;->durec_common_confirm:I

    new-instance v3, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$c;

    invoke-direct {v3, p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$c;-><init>(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;Ljava/util/ArrayList;)V

    .line 19
    invoke-virtual {v1, v0, v3}, Lcom/esfile/screen/recorder/ui/a$e;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/esfile/screen/recorder/ui/a$e;

    new-instance p1, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$b;

    invoke-direct {p1, p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$b;-><init>(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)V

    .line 20
    invoke-virtual {v1, p1}, Lcom/esfile/screen/recorder/ui/a$e;->a(Landroid/content/DialogInterface$OnCancelListener;)Lcom/esfile/screen/recorder/ui/a$e;

    .line 21
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/ui/a$e;->b()Lcom/esfile/screen/recorder/ui/a;

    const-string p1, "merge_dialog_show"

    .line 22
    invoke-direct {p0, p1, v2}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->x()V

    return-void
.end method

.method static synthetic b(Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-static {p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->c(Ljava/lang/String;)V

    return-void
.end method

.method private b(Ljava/util/ArrayList;)V
    .locals 16
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/picture/picker/data/f;",
            ">;)V"
        }
    .end annotation

    move-object/from16 v0, p0

    .line 3
    invoke-direct/range {p0 .. p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->v()Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_0

    .line 4
    sget v1, Les/z4;->durec_cut_video_no_space:I

    invoke-static {v1}, Les/ec;->a(I)V

    return-void

    :cond_0
    move-object/from16 v2, p1

    .line 5
    iput-object v2, v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->d:Ljava/util/ArrayList;

    .line 6
    iget-object v3, v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->c:Lcom/esfile/screen/recorder/media/c;

    if-nez v3, :cond_1

    .line 7
    new-instance v3, Lcom/esfile/screen/recorder/media/c;

    invoke-direct {v3}, Lcom/esfile/screen/recorder/media/c;-><init>()V

    iput-object v3, v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->c:Lcom/esfile/screen/recorder/media/c;

    .line 8
    iget-object v4, v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->f:Lcom/esfile/screen/recorder/media/c$g;

    invoke-virtual {v3, v4}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c$g;)V

    .line 9
    :cond_1
    iget-object v3, v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    invoke-virtual {v3}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->d()V

    .line 10
    new-instance v3, Ljava/util/ArrayList;

    invoke-virtual/range {p1 .. p1}, Ljava/util/ArrayList;->size()I

    move-result v4

    invoke-direct {v3, v4}, Ljava/util/ArrayList;-><init>(I)V

    .line 11
    invoke-virtual/range {p1 .. p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/esfile/screen/recorder/picture/picker/data/f;

    .line 12
    new-instance v15, Lcom/esfile/screen/recorder/media/c$f;

    invoke-virtual {v4}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->c()Ljava/lang/String;

    move-result-object v6

    const-wide/16 v7, -0x1

    const-wide/16 v9, -0x1

    const/high16 v11, 0x3f800000    # 1.0f

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v14, 0x0

    const/4 v4, 0x0

    move-object v5, v15

    move-object/from16 p1, v2

    move-object v2, v15

    move-object v15, v4

    invoke-direct/range {v5 .. v15}, Lcom/esfile/screen/recorder/media/c$f;-><init>(Ljava/lang/Object;JJFILandroid/graphics/RectF;ZLjava/util/List;)V

    invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    move-object/from16 v2, p1

    goto :goto_0

    :cond_2
    const-wide/16 v4, -0x1

    .line 13
    iput-wide v4, v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->e:J

    .line 14
    iget-object v2, v0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->c:Lcom/esfile/screen/recorder/media/c;

    invoke-virtual {v2, v1, v3}, Lcom/esfile/screen/recorder/media/c;->a(Ljava/lang/String;Ljava/util/List;)I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_3

    .line 15
    new-instance v1, Ljava/io/FileNotFoundException;

    const-string v2, "File not found"

    invoke-direct {v1, v2}, Ljava/io/FileNotFoundException;-><init>(Ljava/lang/String;)V

    invoke-direct {v0, v1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/lang/Exception;)V

    :cond_3
    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->e:J

    return-wide v0
.end method

.method private static c(Ljava/lang/String;)V
    .locals 3

    .line 7
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 8
    new-instance p0, Les/bd;

    invoke-direct {p0}, Les/bd;-><init>()V

    .line 9
    invoke-virtual {v0}, Ljava/io/File;->lastModified()J

    move-result-wide v1

    invoke-virtual {p0, v1, v2}, Les/bd;->a(J)V

    const/4 v1, 0x0

    .line 10
    :try_start_0
    invoke-static {v0, p0, v1}, Les/bd;->a(Ljava/io/File;Les/bd;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 11
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private c(Ljava/util/ArrayList;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Lcom/esfile/screen/recorder/picture/picker/data/f;",
            ">;)V"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->a()V

    .line 3
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a:Ljava/util/ArrayList;

    .line 4
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->f(Ljava/util/List;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 5
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a(Ljava/util/ArrayList;)V

    goto :goto_0

    .line 6
    :cond_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b(Ljava/util/ArrayList;)V

    :goto_0
    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    return-object p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->a:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->d:Ljava/util/ArrayList;

    return-object p0
.end method

.method private f(Ljava/util/List;)Z
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/picture/picker/data/f;",
            ">;)Z"
        }
    .end annotation

    if-eqz p1, :cond_5

    .line 2
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_5

    .line 3
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    const/4 v0, -0x1

    const/4 v1, -0x1

    :cond_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/esfile/screen/recorder/picture/picker/data/f;

    .line 4
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/picture/picker/data/f;->i()I

    move-result v3

    .line 5
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/picture/picker/data/f;->g()I

    move-result v2

    if-gtz v0, :cond_1

    move v0, v3

    :cond_1
    if-gtz v1, :cond_2

    move v1, v2

    :cond_2
    if-ne v0, v3, :cond_3

    if-eq v1, v2, :cond_0

    :cond_3
    const/4 p1, 0x1

    return p1

    :cond_4
    const/4 p1, 0x0

    return p1

    .line 6
    :cond_5
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "path list is empty!"

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    goto :goto_1

    :goto_0
    throw p1

    :goto_1
    goto :goto_0
.end method

.method private v()Ljava/lang/String;
    .locals 5

    .line 1
    invoke-static {}, Les/qc$f;->a()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return-object v0

    .line 2
    :cond_0
    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string v2, "yyyyMMdd_HHmmss"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    new-instance v2, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    invoke-direct {v2, v3, v4}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    .line 3
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget-object v0, Ljava/io/File;->separator:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "_es_edited"

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, ".mp4"

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private w()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    new-instance v1, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity$a;-><init>(Lcom/esfile/screen/recorder/videos/merge/MergeActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setOnCancelClickListener(Landroid/view/View$OnClickListener;)V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setProgress(I)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    sget v1, Les/z4;->durec_share_saving:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setProgressText(I)V

    return-void
.end method

.method private x()V
    .locals 0

    return-void
.end method


# virtual methods
.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 0

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/base/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-static {p0}, Lcom/esfile/screen/recorder/utils/r;->a(Landroid/app/Activity;)V

    .line 3
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-string v0, "extra_video_paths"

    .line 4
    invoke-virtual {p1, v0}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 5
    invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 6
    :cond_0
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    .line 7
    :cond_1
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->b:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    .line 8
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->setContentView(Landroid/view/View;)V

    .line 9
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->w()V

    .line 10
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->c(Ljava/util/ArrayList;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeActivity;->c:Lcom/esfile/screen/recorder/media/c;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/c;->a()V

    :cond_0
    return-void
.end method

.method public u()Ljava/lang/String;
    .locals 1

    const-string v0, "\u89c6\u9891\u62fc\u63a5\u9875"

    return-object v0
.end method
